export JAVA_HOME=/opt/jdk-17.0.6
export PATH=$PATH:$JAVA_HOME/bin

java -version

export COMMANDLINE_TOOL_DIR=/opt/command-line-tools

export NODE_HOME=${COMMANDLINE_TOOL_DIR}/command-line-tools/tool/node
export PATH=$PATH:$NODE_HOME/bin

node -v

export HDC_HOME=${COMMANDLINE_TOOL_DIR}/command-line-tools/sdk/default/openharmony/toolchains
export PATH=$PATH:$HDC_HOME

export PATH=${COMMANDLINE_TOOL_DIR}/command-line-tools/bin:$PATH

hvigorw -v

npm config set registry https://repo.huaweicloud.com/repository/npm/
npm config set "@ohos:registry" https://repo.harmonyos.com/npm/

ohpm -v

ohpm config set registry https://ohpm.openharmony.cn/ohpm/
ohpm config set strict_ssl false
